<?php

use Illuminate\Support\Facades\Route;
use Modules\Warehouse\Http\Controllers\DatatypeController;
use Modules\Warehouse\Http\Controllers\StorageController;

Route::prefix('warehouse')->group(function(){

    Route::apiResource('storage', StorageController::class);
    Route::get('uerdataApi', [StorageController::class, 'uerdataApi']);
    Route::get('warehousedataApi', [StorageController::class, 'warehousedataApi']);
    //库位印接口
    Route::POST('Libraryprint', [StorageController::class, 'Libraryprint']);
     
    
    Route::apiResource('datatype', DatatypeController::class);
    //仓库打印接口
    Route::get('Printinterface', [DatatypeController::class, 'Printinterface']);
    
});
